package com.alongstudio.account.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 用户
 * 
 * @ClassName: User
 * @Description:
 * @author 安陈琳
 * @date Nov 30, 2011 11:23:29 AM
 * 
 */
@Entity
@Table(name = "tbl_client_user")
public class ClientUser {
	@Id
	@Column(name = "id", length=32)
	@GeneratedValue(generator = "identityGenerator")
	@GenericGenerator(name = "identityGenerator", strategy = "com.alongstudio.account.commons.utils.IdentityGenerator")
	private String id;
	@Column(name = "user_name", length = 20)
	private String userName;
	@Column(length = 32)
	private String password;
	@Column(length = 20)
	private String nickname;
	@Column(length = 50)
	private String email;
	@Column(length = 1)
	private String gender;// 0男，1女
	@Column(length = 19)
	private String birthday;
	@Column(name = "del_tag", length = 1)
	private String delTag;// 删除标记 Y-已删除，N-未删除
	@Column(length = 200)
	private String remark;
	@Column(name = "create_date", length = 19)
	private String createDate;

//	private AdministrativeDivision division;// 所属行政区域
//	private DictionaryContent maritalStatus;// 婚姻状况//0未婚，1已婚
//	private DictionaryContent educationBackground;// 学历背景
//	private DictionaryContent personalSituation;// 个人状况 0-学生，1-员工，2-老板，3经理人
//	private DictionaryContent incomeLevel;// 收入水平

	public String getId() {
		return id;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getDelTag() {
		return delTag;
	}

	public void setDelTag(String delTag) {
		this.delTag = delTag;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
